#include"queue.h"
#include<iostream>
using std::cout;
using std::endl;

queue::queue()
{
	cout<<"queue instance success"<<endl;
}

Portal_Block queue::pop()
{
	cout<<"here is portal_buf"<<endl;
	Portal_Block p=q.front();
	q.pop();
	return p;
}

void queue::push(Portal_Block p)
{
	q.push(p);
}

